package com.usian.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @TableName tb_order
 */
@Data
public class TbOrder implements Serializable {
    /**
     * 订单id
     *
     * @mbg.generated Thu Jan 21 18:52:02 CST 2021
     */
    @TableId
    private String orderId;

    /**
     * 实付金额。精确到2位小数;单位:元。如:200.07，表示:200元7分
     *
     * @mbg.generated Thu Jan 21 18:52:02 CST 2021
     */
    private String payment;

    /**
     * 支付类型，1、在线支付，2、货到付款
     *
     * @mbg.generated Thu Jan 21 18:52:02 CST 2021
     */
    private Integer paymentType;

    /**
     * 邮费。精确到2位小数;单位:元。如:200.07，表示:200元7分
     *
     * @mbg.generated Thu Jan 21 18:52:02 CST 2021
     */
    private String postFee;

    /**
     * 状态：1、未付款，2、已付款，3、未发货，4、已发货，5、交易成功，6、交易关闭
     *
     * @mbg.generated Thu Jan 21 18:52:02 CST 2021
     */
    private Integer status;

    /**
     * 订单创建时间
     *
     * @mbg.generated Thu Jan 21 18:52:02 CST 2021
     */
    private Date createTime;

    /**
     * 订单更新时间
     *
     * @mbg.generated Thu Jan 21 18:52:02 CST 2021
     */
    private Date updateTime;

    /**
     * 付款时间
     *
     * @mbg.generated Thu Jan 21 18:52:02 CST 2021
     */
    private Date paymentTime;

    /**
     * 发货时间
     *
     * @mbg.generated Thu Jan 21 18:52:02 CST 2021
     */
    private Date consignTime;

    /**
     * 交易完成时间
     *
     * @mbg.generated Thu Jan 21 18:52:02 CST 2021
     */
    private Date endTime;

    /**
     * 交易关闭时间
     *
     * @mbg.generated Thu Jan 21 18:52:02 CST 2021
     */
    private Date closeTime;

    /**
     * 物流名称
     *
     * @mbg.generated Thu Jan 21 18:52:02 CST 2021
     */
    private String shippingName;

    /**
     * 物流单号
     *
     * @mbg.generated Thu Jan 21 18:52:02 CST 2021
     */
    private String shippingCode;

    /**
     * 用户id
     *
     * @mbg.generated Thu Jan 21 18:52:02 CST 2021
     */
    private Long userId;

    /**
     * 买家留言
     *
     * @mbg.generated Thu Jan 21 18:52:02 CST 2021
     */
    private String buyerMessage;

    /**
     * 买家昵称
     *
     * @mbg.generated Thu Jan 21 18:52:02 CST 2021
     */
    private String buyerNick;

    /**
     * 买家是否已经评价
     *
     * @mbg.generated Thu Jan 21 18:52:02 CST 2021
     */
    private Integer buyerRate;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table tb_order
     *
     * @mbg.generated Thu Jan 21 18:52:02 CST 2021
     */
    private static final long serialVersionUID = 1L;
}